<template>
  <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
    <el-tab-pane label="管理员信息" name="third">
      <app-third />
    </el-tab-pane>
    <el-tab-pane label="登录记录" name="fourth">
      <app-fourth />
    </el-tab-pane>
    <el-tab-pane label="系统信息" name="first">
      <app-first />
    </el-tab-pane>
  </el-tabs>
</template>
<script>
import Third from "./table/Third";
import Fourth from "./table/Fourth";
import First from "./table/First";
export default {
  data() {
    return {
      activeName: "third"
    };
  },
  components: {
    "app-third": Third,
    "app-fourth": Fourth,
    "app-first": First
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};
</script>
